- 
		Home
	
 
	- 
WooCommerce PayPal Payments
 
- 
2.8.0
 
- 
Code
 
- 
Classes
 
-  CreateOrderEndpoint 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											79 | 
										
																			
											| Dependencies | 
											29 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											588 | 
										
																			
											| Lines of code | 
											285 | 
										
																			
											| Logical lines of code | 
											150 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											193 | 
										
																			
											| Methods | 
											11 | 
										
																			
											| Properties | 
											18 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 11
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| handle_request() | 
									D  | 
																	28  | 
													36 | 
													117 | 
							
					
				| create_paypal_order() | 
									A  | 
																	41 | 
													13 | 
													60 | 
							
					
				| payer() | 
									A  | 
																	51 | 
													10 | 
													25 | 
							
					
				| after_checkout_validation() | 
									S  | 
																	52 | 
													4 | 
													25 | 
							
					
				| should_handle_shipping_in_paypal() | 
									S  | 
																	67 | 
													4 | 
													7 | 
							
					
				| set_bn_code() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| validate_form() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| validate_paynow_form() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	57 | 
													1 | 
													17 | 
							
					
				| nonce() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| make_response() | 
									S  | 
																	71 | 
													1 | 
													6 |